﻿using Microsoft.Extensions.DependencyInjection;
using Loong.Threading.Locks.Database;

namespace Loong.Threading.Locks
{
    public static class MySqlLockExtensions
    {
        public static void UseMySql(this ResourceLockDbAccessorProvider provider)
        {
            provider.Services.AddSingleton<IResourceLockDbAccessor, ResourceLockDbAccessor>();
        }
    }
}
